package com.project.pudongdata.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "authentication")
public class AuthenticationProperties {
    private List<UserItem> list;
    @Data
    public  static class UserItem{
        private String userName;
        private String password;
    }
}


